const getters = {
  token: state => state.user.token,
  username: state => state.user.username,
  nickname: state => state.user.nickname,
  avatar: state => state.user.avatar,
  id: state => state.user.id,
  active: state => state.app.active,
  loading: state => state.app.loading
}

export default getters
